package com.banksoft.cps.dao;

import com.banksoft.cps.bean.SupplierOutWarehouse;
import com.banksoft.cps.bean.query.SupplierOutWarehouseQuery;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by rongzhao.zhu on 2018/1/12.
 */
@Repository
public interface SupplierOutWarehouseDao {
    void insert(SupplierOutWarehouse bean);

    void update(SupplierOutWarehouse bean);


    SupplierOutWarehouse findById(String id);

    List<SupplierOutWarehouse> list(SupplierOutWarehouseQuery query);

    long count(SupplierOutWarehouseQuery query);
}
